﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ComDAL;
using ComModel;

namespace ComBLL
{
    public class registerLogin_bll
    {
        registerLogin_dal dal = new registerLogin_dal();
        public int Login(string name, string pwd)
        {
            return dal.Login(name, pwd);
        }
        public int Register(UserModel u)//注册
        {
            return dal.Register(u);
        }
    }
}
